package mil.af.amc.adpetracker.web.helpers;

import mil.af.amc.adpetracker.model.ItemStatus;
import mil.af.amc.adpetracker.service.ItemStatusService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Please fill in this Javadoc
 *
 * @author Jason Ferguson
 */
@Service("itemStatusViewHelper")
public class ItemStatusViewHelper {

    private ItemStatusService itemStatusService;

    @Autowired
    public void setItemStatusService(ItemStatusService itemStatusService) {
        this.itemStatusService = itemStatusService;
    }

    public List<ItemStatus> getAll() {

        return itemStatusService.getAll();
    }
}
